Skip to main content
Glama

HRFCO Service

{{name}}.js832 B
export default async (request, context) => { const url = new URL(request.url) switch (url.searchParams.get('action')) { case 'set': context.cookies.set({ name: 'action', value: 'hello', }) return new Response('Cookie value has been set. Reload this page without the "action" parameter to see it.') case 'clear': context.cookies.delete('action') return new Response( 'Cookie value has been cleared. Reload this page without the "action" parameter to see the new state.', ) default: } const value = context.cookies.get('action') const message = value ? `Cookie value is "${value}". You can clear it by using "?action=clear".` : 'Cookie has not been set. You can do so by adding "?action=set" to the URL.' return new Response(message) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kwenhwang/hrfco-service'

If you have feedback or need assistance with the MCP directory API, please join our Discord server